Key Values Cache Repo
open class KeyValuesCacheRepo<Key, Value>( parentRepo: KeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default)) : ReadKeyValuesCacheRepo<Key, Value> , KeyValuesRepo<Key, Value> , WriteKeyValuesRepo<Key, Value> , CacheRepo
Content copied to clipboard
Constructors
Link copied to clipboard
fun <Key, Value> KeyValuesCacheRepo( parentRepo: KeyValuesRepo<Key, Value>, kvCache: KVCache<Key, List<Value>>, scope: CoroutineScope = CoroutineScope(Dispatchers.Default))
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun get( k: Key, pagination: Pagination, reversed: Boolean): PaginationResult<Value>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun keys(pagination: Pagination, reversed: Boolean): PaginationResult<Key>
Content copied to clipboard
open suspend override fun keys( v: Value, pagination: Pagination, reversed: Boolean): PaginationResult<Key>
Content copied to clipboard